import { POST } from '@/services/request.js'

export default {
    // 收货地址添加
    AddressAdd(data = {}) {
        return POST({
            url: '/address/add',
            params: data
        })
    },
    // 收货地址首页
    AddressIndex(data = {}) {
        return POST({
            url: '/address/index',
            params: data
        })
    },
    // 收货地址鉴权
    AddressCheck(data = {}) {
        return POST({
            url: '/address/check',
            params: data
        })
    },
    // 收货地址详情
    AddressInfo(data = {}) {
        return POST({
            url: '/address/info',
            params: data
        })
    },
    // 收货地址编辑
    AddressEdit(data = {}) {
        return POST({
            url: '/address/edit',
            params: data
        })
    },
    // 收货地址删除
    AddressDel(data = {}) {
        return POST({
            url: '/address/del',
            params: data
        })
    },
    // 订单地址
    AddressOrder(data = {}) {
        return POST({
            url: '/address/order',
            params: data
        })
    },
}